package crm.view.setting.listener;

import javax.swing.JSpinner;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;

import crm.model.Setting;

public class TimeListener implements ChangeListener {

	public void stateChanged(ChangeEvent e) {
		int time = (Integer)((JSpinner)e.getSource()).getValue();
		Setting.setAktualisatorTime(time);
	}
}